Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for 3D virtual surround rendering in ALWrapper #32

Merged
merged 2 commits into from Jun 26, 2012

Conversation

Bluebie
Copy link
Contributor

@Bluebie Bluebie commented Jun 25, 2012

allows users to enable HRTF-based 3D virtual surround sound, at the expense of higher CPU usage

Jenna Fox added 2 commits June 26, 2012 09:52
This adds support for generic head related transfer functions 3d virtual surround when set to @"high", with a special optimised @"headphones" mode offering a more specialised HRTF 3D virtual surround rendering
@kstenerud
Copy link
Owner

Awesome! Thanks for contributing!

kstenerud added a commit that referenced this pull request Jun 26, 2012
Added support for 3D virtual surround rendering in ALWrapper
@kstenerud kstenerud merged commit d50b537 into kstenerud:master Jun 26, 2012
@Bluebie
Copy link
Contributor Author

Bluebie commented Jun 26, 2012

Looks like despite the presence of APIs explicitly talking about HRTF stuff, setting the render quality to high is no different from low, and doesn't enable any HRTF functionality. Setting it to 'headphones' does something weird which I've yet to figure out, but it also doesn't seem to provide spatialization - though it does totally screw up panning. Maybe sensible to revert this.

wtf openal-ios :(

@Bluebie
Copy link
Contributor Author

Bluebie commented Jun 26, 2012

I should probably test this on the actual device. Simulator tends to suck for audio!

@mangtronix
Copy link

I get the same behaviour where low and high quality are the same. I was able to get a nice spatialization effect using "headphones" on iOS 5 but in iOS 6 with the same code when I turn on "headphones" the output goes silent (both in the simulator and on actual devices).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants